﻿using System.Linq;
using MM.Data.Entity;

namespace MM.Services.decl
{
    public interface IOperationTypeInterface
    {
        void AddOperationType(OperationType operationType);

        OperationType GetParentOperation(OperationType operation);
        IQueryable<OperationType> GetAllParentOperationList();
        IQueryable<OperationType> GetAllOperationTypesHierarchical();
    }
}